<?php
	echo validation_errors();
	echo form_open('user/editProfile/student');
?>

<!--Pseudo navbar-->
Profile | <a href="/165-project/index.php/user/editProfile/student/password">Change Password</a><br />

<h1>Student Profile</h1>

<!--I'll use fieldsets for aesthetic purposes. Tangalin ko na lang pag nag style na tayo at OP siya :D-->
<?php
echo form_label('Last Name', 'lastname'); echo "<br />";
echo form_input('lastname', set_value('lastname', $reguser['lastname']));

echo form_label('First Name', 'firstname'); echo "<br />";
echo form_input('firstname', set_value('firstname', $reguser['firstname']));

?>
Middle Name:<br />
<input type="text" name="middlename" /><br />
Sex: <input type="radio" name="sex" id="male" value="M" /> <label for="male">Male</label>
     <input type="radio" name="sex" id="female" value="F" /> <label for="female">Female</label><br />
Address:<br />
<input type="text" name="address" size="50" /><br />
	Occupation:<br />
	<input type="text" name="photourl" /><br />
<?php echo form_submit('save', "Save"); //Hindi ko rin ito masyadong gets ?>
